home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
win_utl2
/
savers_.zip
/
COLORS.DOC
< prev
next >
Wrap
Text File
|
1996-05-27
|
2KB
|
39 lines
"Colors"
Yet Another Screen Saver
by Duane Bailey, 03-17-1996
This is a simple thingy I wrote in a day. Its only purpose is mindless pleasure
and fun. It is a study in color depth. The colors produced are each drawn from
a 64 shade palette each for red, green and blue. The three palettes are each
thought of as 6-bit palettes, because "two to the 6th power" equals 64. Here
are some number breakdowns: You add the three colors to get a palette of 18
bits total, and "2 to the 18th power" equals 262,144 total colors possible.
Many good screen savers, such as Dazzle, Dots, O-my-God, Squirmy Dots, Tunnel,
and AcidWarp, etc use a similar scheme for getting a "256 color palette window"
into a higher palette. This one dispalys one color at a time, and over time it
can have displayed up to 262,144 unique colors. You enter a number to start the
program. This is the highest number of milliseconds it will show each color. It
chooses from 0 milliseconds and your entry in milliseconds randomly for each
color. During the show, if you press the N key, (for New screen), you return to
this menu to choose a new value. If you press any other key you exit Colors.
Experiment!
If you run Colors from within any version of Windows, run it full-screen and in
the foreground only.
I included the programming graphics file Bgi256.obj and its documentation for
other Turbo Pascal programmers. It accepts 6 bits each for Red, Green, and Blue
for a total of 262,144 colors possible (up to 256 at a time).
Do not compress this screen saver with -any- "on the fly" file compressors like
Stacker, especially not with PkLite, etc....
-Mission Control
Duane Bailey
1617 S. Main St
Winston-Salem, NC 27127